package com.cbh.entity;

import com.cbh.component.base.annotations.DBColumn;
import com.cbh.component.base.annotations.DBTable;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(Include.NON_NULL)
@ApiModel(value = "PlatePrefix", description = "车牌前缀")
@DBTable(name = "general_plate_prefix")
public class PlatePrefix {
	@DBColumn(primary = true)
	@ApiModelProperty(value = "序号")
	private String ppId;
	@DBColumn(orderBy = true, sort = "DESC")
	@ApiModelProperty(value = "前缀值")
	private String ppValue;
	@DBColumn
	@ApiModelProperty(value = "区域ID")
	private String pp_areaId;
	@DBColumn
	@ApiModelProperty(value = "区域")
	private String pp_areaName;

	public PlatePrefix def(String ppId, String ppValue, String pp_areaId, String pp_areaName) {
		this.ppId = ppId;
		this.ppValue = ppValue;
		this.pp_areaId = pp_areaId;
		this.pp_areaName = pp_areaName;
		return this;
	}

	public PlatePrefix ppv(String ppValue) {
		this.ppValue = ppValue;
		return this;
	}

	public PlatePrefix id(String ppId) {
		this.ppId = ppId;
		return this;
	}

	public String getPpId() {
		return ppId;
	}

	public void setPpId(String ppId) {
		this.ppId = ppId;
	}

	public String getPpValue() {
		return ppValue;
	}

	public void setPpValue(String ppValue) {
		this.ppValue = ppValue;
	}

	public String getPp_areaId() {
		return pp_areaId;
	}

	public void setPp_areaId(String pp_areaId) {
		this.pp_areaId = pp_areaId;
	}

	public String getPp_areaName() {
		return pp_areaName;
	}

	public void setPp_areaName(String pp_areaName) {
		this.pp_areaName = pp_areaName;
	}

}
